State-transition machines, revisited
نویسنده
چکیده
In the autumn of 1978, Neil Jones and Steve Muchnick, working at the University of Kansas, were studying compiler synthesis from Scott-Strachey denotational-semantics definitions; I was Neil’s student. Neil read intently John Reynolds’s 1972 paper, Definitional Interpreters for Higher-Order Programming Languages [14], and applied Reynolds’s continuation-passing and defunctionalization transformations to lambda-calculus-coded denotational-semantics definitions, using the transformed definitions as templates for syntax-directed translation. Neil dubbed the translated source programs, “State-Transition Machines” (STMs), because an object program was a set of equationally defined functions that looked like the transition rules of a finite-state machine. Our initial efforts were spent on transforming denotational definitions of block-structured, imperative languages into compiling schemes that generated STMs that looked like ordinary assembly code. In the summer of 1979, Steve moved to the University of California, Berkeley, and Neil and I left for the University of Aarhus, Denmark, where we continued the research project. A summary of the work was eventually published as the paper, Compiler generation from denotational semantics [10]. The continuation-passing and defunctionalization transforms were tedious, and I suggested to Neil that one could do better by writing a translator from lambda-calculus into STMs and then constructing a compiler by composing a denotational definition with the lambdacalculus translator. It was unclear whether this tactic would generate better target code than that generated by Neil’s smart transformations, but Neil agreed that it was worth a try. After several false starts, I formulated a translator from a call-byvalue lambda-calculus to STMs written in a variant of Landin’s SECDmachine, which later appeared in [16] as the “VEC-machine.” (Neil preferred a call-by-value lambda-calculus metalanguage.) At the same time, I was reading Chris Wadsworth’s paper, The relation between computational and denotational properties for Scott’s models of the lambda-calculus [18], and I was fascinated by Wadsworth’s use
منابع مشابه
Monte Carlo Simulation to Compare Markovian and Neural Network Models for Reliability Assessment in Multiple AGV Manufacturing System
We compare two approaches for a Markovian model in flexible manufacturing systems (FMSs) using Monte Carlo simulation. The model which is a development of Fazlollahtabar and Saidi-Mehrabad (2013), considers two features of automated flexible manufacturing systems equipped with automated guided vehicle (AGV) namely, the reliability of machines and the reliability of AGVs in a multiple AGV jobsho...
متن کاملTyped Gurevich Machines Revisited
An approach to combining type-structured algebraic speciications with Gure-vich Machines (evolving algebras) is proposed. A type-structured algebraic speci-cation, in its simplest form, consists of data type speciications and independent function (detached operation) speciications. Concrete and generic speciication components (data types and functions) are distinguished in a more developed case...
متن کاملOn State Machines of Calculating Type
In this article, we show the properties of the calculating type state machines. In the first section, we have defined calculating type state machines of which the state transition only depends on the first input. We have also proved theorems of the state machines. In the second section, we defined Moore machines with final states. We also introduced the concept of result of the Moore machines. ...
متن کاملOn Modular De nitions and Implementations of Programming Languages
We provide a framework for modular deenitions and implementations of programming language based on abstract state machines. It is based on composition mechanism of state transition systems. State transition systems abstract from the algebraic structure of the states of an abstract state machine and focus on the behavior of state transitions. Implementations are based of reenements of state tran...
متن کاملAlgebraic State Machines
We introduce the concept of an algebraic state machine. This is a state transition machine all parts of that are described by algebraic and logical means. This way we base the description of state transition systems exclusively on the concept of algebraic specifications. Also the state of an algebraic state machine is represented by an algebra. In particular, we describe the state spaces of the...
متن کاملRestricted cascade and wreath products of fuzzy finite switchboard state machines
A finite switchboard state machine is a specialized finite state machine. It is built by binding the concepts of switching state machines and commutative state machines. The main purpose of this paper is to give a specific algorithm for fuzzy finite switchboard state machine and also, investigates the concepts of switching relation, covering, restricted cascade products and wreath products of f...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Higher-Order and Symbolic Computation
دوره 20 شماره
صفحات -
تاریخ انتشار 2007